while (true)//the "true" keyword mean it will run forever, you can change it too (example while (i > 3))
{
//Code here
System.Threading.Thread.Sleep(100) // Convertion: 1000 = 1 second
//if you are using a while true statment, your program will frezze without this Sleep keyword
}